package com.merchant.pojo;

import java.io.Serializable;

/**
 * @author yxd
 *     门店实体类
 */
public class Store implements Serializable {
	private static final long serialVersionUID = 1L;
	private int sid;
	private String sname;
	private String saddress;
	private String picture;
	private String scondition;
	private String businesslicense;
	private String audit;
	private int rid;
	private double income;
	private int eid;
	private int sgrade;

	public Redpacket getRedpacket() {
		return redpacket;
	}

	public void setRedpacket(Redpacket redpacket) {
		this.redpacket = redpacket;
	}

	public Evaluate getEvaluate() {
		return evaluate;
	}

	public void setEvaluate(Evaluate evaluate) {
		this.evaluate = evaluate;
	}
	private  Redpacket redpacket;
	private Evaluate evaluate;

	public Store() {
		super();
	}

	public Store(String sname, String saddress, String picture, String scondition, String businesslicense, String audit, int rid, double income, int eid, int sgrade, Redpacket redpacket, Evaluate evaluate) {
		this.sname = sname;
		this.saddress = saddress;
		this.picture = picture;
		this.scondition = scondition;
		this.businesslicense = businesslicense;
		this.audit = audit;
		this.rid = rid;
		this.income = income;
		this.eid = eid;
		this.sgrade = sgrade;
		this.redpacket = redpacket;
		this.evaluate = evaluate;
	}

	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSaddress() {
		return saddress;
	}
	public void setSaddress(String saddress) {
		this.saddress = saddress;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getScondition() {
		return scondition;
	}
	public void setScondition(String scondition) {
		this.scondition = scondition;
	}
	public String getBusinesslicense() {
		return businesslicense;
	}
	public void setBusinesslicense(String businesslicense) {
		this.businesslicense = businesslicense;
	}
	public String getAudit() {
		return audit;
	}
	public void setAudit(String audit) {
		this.audit = audit;
	}
	public int getRid() {
		return rid;
	}
	public void setRid(int rid) {
		this.rid = rid;
	}
	public double getIncome() {
		return income;
	}
	public void setIncome(double income) {
		this.income = income;
	}
	public int getEid() {
		return eid;
	}
	public void setEid(int eid) {
		this.eid = eid;
	}
	public int getSgrade() {
		return sgrade;
	}
	public void setSgrade(int sgrade) {
		this.sgrade = sgrade;
	}

	@Override
	public String toString() {
		return "Store{" +
				"sid=" + sid +
				", sname='" + sname + '\'' +
				", saddress='" + saddress + '\'' +
				", picture='" + picture + '\'' +
				", scondition='" + scondition + '\'' +
				", businesslicense='" + businesslicense + '\'' +
				", audit='" + audit + '\'' +
				", rid=" + rid +
				", income=" + income +
				", eid=" + eid +
				", sgrade=" + sgrade +
				", redpacket=" + redpacket +
				", evaluate=" + evaluate +
				'}';
	}
}
